package com.zqweb.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zqweb.common.utils.PageUtils;
import com.zqweb.gulimall.product.entity.SpuInfoEntity;
import com.zqweb.gulimall.product.vo.SpuInfoVo;
import com.zqweb.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author zq
 * @email zq@gmail.com
 * @date 2021-11-26 18:38:53
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {
    PageUtils queryPage(Map<String, Object> params);
    PageUtils queryPageWithConditions(Map<String, Object> params);

    void save(SpuSaveVo spuSaveVo);

    void up(Long spuId);

    SpuInfoVo getSpuInfoBySkuId(Long skuId);
}

